//引入mysql模块
const mysql = require('mysql');
//创建连接池对象
const pool = mysql.createPool({
  host: '116.62.59.65',
  port: '3306',
  user: 'hotel',
  password: 'neJXbxwACtH62SmF',
  database: 'hotel',
  connectionLimit: '20',
});
//导出连接池对象
module.exports = pool;
